<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>技师管理</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->


<script type="text/javascript" src="H-ui.admin/lib/html5shiv.js"></script>
<script type="text/javascript" src="H-ui.admin/lib/respond.min.js"></script>
<link rel="stylesheet" type="text/css" href="H-ui.admin/static/h-ui/css/H-ui.min.css">
<link rel="stylesheet" type="text/css" href="H-ui.admin/static/h-ui.admin/css/H-ui.admin.css">
<link rel="stylesheet" type="text/css" href="H-ui.admin/lib/Hui-iconfont/1.0.8/iconfont.css">
<link rel="stylesheet" type="text/css" href="H-ui.admin/static/h-ui.admin/skin/default/skin.css" id="skin">
<link rel="stylesheet" type="text/css" href="H-ui.admin/static/h-ui.admin/css/style.css">

<script type="text/javascript" src="H-ui.admin/lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
 </head>
  
  <body>
<nav class="breadcrumb"><i class="Hui-iconfont"></i> 首页 <span class="c-gray en">&gt;</span> 技师管理 <span class="c-gray en">&gt;</span> 查看技师 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont"></i></a></nav>
<div class="pd-20">
  <div class="cl pd-5 bg-1 bk-gray mt-20">
    <span class="l">
    <a href="technicianActionfindTechnician?num=1" style="background-color: DodgerBlue" onclick="" class="btn btn-primary radius"><i class="icon-plus"></i> 待钟</a>
    <a href="technicianActionfindTechnician?num=2" style="background-color: DeepPink" onclick="" class="btn btn-primary radius"><i class="icon-plus"></i> 上钟</a>
    <a href="technicianActionfindTechnician?num=3" style="background-color: Gold" onclick="" class="btn btn-primary radius"><i class="icon-plus"></i> 休息</a>
    </span>
  </div>
  <div id="DataTables_Table_0_wrapper" class="dataTables_wrapper no-footer">
   <s:if test='list.get(0).sywTechnicianstate.name=="待钟"'>
  	<s:iterator value="list" id="technician">
  		<div style="height: 60px;width: 60px;background-color: DodgerBlue;float: left;margin: 5px;text-align: center;">
  			<a style="text-decoration:none" href="technicianActionfindTechnicianbyId?sywTechnician.id=<s:property value="#technician.id"/>">
  			<br><span style="color: white;"><s:property value="#technician.id"/>号</span>
  			<%-- <span style="color: white;"><s:property value="#technician.sywTechnicianstate.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.sywEmp.sywDept.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.tedate"/></span> --%>
  			</a>
  		</div>
    </s:iterator>
    </s:if>
    <s:if test='list.get(0).sywTechnicianstate.name=="上钟"'>
    	<s:iterator value="list" id="technician">
  		<div style="height: 60px;width: 60px;background-color: DeepPink ;float: left;margin: 5px;text-align: center;">
  			<a style="text-decoration:none" href="technicianActionfindTechnicianbyId?sywTechnician.id=<s:property value="#technician.id"/>">
  			<br><span style="color: white;"><s:property value="#technician.id"/>号</span>
  			<%-- <span style="color: white;"><s:property value="#technician.sywTechnicianstate.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.sywEmp.sywDept.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.tedate"/></span> --%>
  			</a>
  		</div>
    </s:iterator>
    </s:if>
    <s:if test='list.get(0).sywTechnicianstate.name=="休息"'>
    	<s:iterator value="list" id="technician">
  		<div style="height: 60px;width: 60px;background-color: Gold;float: left;margin: 5px;text-align: center;">
  			<a style="text-decoration:none" href="technicianActionfindTechnicianbyId?sywTechnician.id=<s:property value="#technician.id"/>">
  			<br><span style="color: white;"><s:property value="#technician.id"/>号</span>
  			<%-- <span style="color: white;"><s:property value="#technician.sywTechnicianstate.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.sywEmp.sywDept.name"/></span><br>
  			<span style="color: white;"><s:property value="#technician.tedate"/></span> --%>
  			</a>
  		</div>
  		
    </s:iterator>
    </s:if>
  </div>
</div>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="H-ui.admin/lib/jquery/1.9.1/jquery.min.js"></script> 
<script type="text/javascript" src="H-ui.admin/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="H-ui.admin/static/h-ui/js/H-ui.min.js"></script> 
<script type="text/javascript" src="H-ui.admin/static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="H-ui.admin/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="H-ui.admin/lib/datatables/1.10.0/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="H-ui.admin/lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
/* window.onload = (function(){
    // optional set
    pageNav.pre="&lt;上一页";
    pageNav.next="下一页&gt;";
    // p,当前页码,pn,总页面
    pageNav.fn = function(p,pn){$("#pageinfo").text("当前页:"+p+" 总页: "+pn);};
    //重写分页状态,跳到第三页,总页33页
    pageNav.go(1,13);
});
$('.table-sort').dataTable({
	"lengthMenu":false,//显示数量选择 
	"bFilter": false,//过滤功能
	"bPaginate": false,//翻页信息
	"bInfo": false,//数量信息
	"aaSorting": [[ 1, "desc" ]],//默认第几个排序
	"bStateSave": true,//状态保存
	"aoColumnDefs": [
	  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
	  {"orderable":false,"aTargets":[0,8,9]}// 制定列不参与排序
	]
}); */
</script>

  </body>
</html>
